/**
** Aggiungi Gallery
**
*/

#agg_gallery {
	width: 480px;
	margin: 0 auto;
}

#agg_gallery fieldset{
	padding:20px 10px 10px 10px;
	border-radius: 10px;
	border: solid 1px #9FB1A3;
	}

#agg_gallery legend{
	font-family: Trebuchet MS,sans-serif;
    font-size: 12px;
    color: #337287;
	padding-left: 5px;
	padding-right: 5px;
}

/**
** Mostra Gallery
**
*/
#mostra-gallery #gallery-foto{
	min-height:100px;
}

#mostra-gallery #gallery-foto .foto-c {
	display:inline-block;
	height:140px;
	margin-left:10px;
	padding:10px 10px;
}

#mostra-gallery #gallery-foto .foto-c .foto img {

	box-shadow: 2px 2px 5px #3B5A4A;
}

#mostra-gallery #gallery-foto .controlli {
	margin: 0 auto;
	width: auto;
}

#mostra-gallery #gallery-foto .controlli a{
	width:24px;
	height:24px;
	display: inline-block;
}

#mostra-gallery #gallery-foto .controlli span{
	position: relative;
	left: 4px;
	top: 11px;
}

#mostra-gallery #gallery-foto .controlli .ui-button-text {
	font-size:9px;
	margin-left:20px;
}

#mostra-gallery h3 {
	border-bottom:solid 1px #9FB1A3;
	margin-bottom:20px;
	font-size:20px;
}

#mostra-gallery #gallery-info {
	width:100%;
	border-top:solid 1px #9FB1A3;
	margin-top:20px;
}

#mostra-gallery #gallery-info .descrizione {
	font-weight: bold;
}

#galleries .gallery {
	background:#DDE5D8;
	margin-top:20px;
	border:solid 1px #9FB1A3;
	padding:10px;	
	border-radius:10px;
	min-height:80px;
	line-height: 2.0em;
}

#galleries .gallery .gallery-buttons {
	margin-top: 5px;
}

#galleries .gallery .info img {
	width: 70px;
	height: 70px;
	float: left;
	margin-right: 10px;
}

#galleries .gallery .control {
	float:right;
	width:80px;
}

#galleries .control a{
	display:block;
	width:24px;
	height:24px;
	margin: 10px;
    position: relative;
    cursor: pointer;
} 

#galleries .control span {
	position: relative;
	left: 4px;
	top: 10px;
}

/** 
** Organizza Foto
** 
*/
#organizza-foto {
	height:510px;
	width:100%;
	overflow:hidden;
	border-radius:10px;
}

#organizza-foto #container-foto {
	/*height:*/
}

#organizza-foto #gallery-foto {
	min-height:280px;
	overflow:visible;
	border-bottom:solid 1px #9FB1A3;
	/*float:left;*/
}

#organizza-foto #gallery-foto .foto {
	display:inline-block;
	height:120px;
	margin-left:10px;
	padding:10px 10px;
}


#organizza-foto #gallery-foto .ui-draggable-dragging {
	opacity:0.4;
}

#organizza-foto #gallery-foto img{
	box-shadow: 2px 2px 5px #3B5A4A;
}

#organizza-foto #gallery-foto .invisible {
	visibility: hidden;
}

#organizza-foto #scroller-foto {
	float:right;
}


#organizza-foto #gallery-galleria {
	min-height:120px;
	overflow:hidden;
}


#organizza-foto #gallery-galleria .gallery {
	
	display:inline-block;
	height:120px;
	width:120px;
	margin-left:10px;
	cursor: pointer;
	overflow:hidden;
	
}

#organizza-foto #gallery-galleria .gallery .img {
	height:70px;
	width:70px;
	margin-left:25px;
	margin-right:25px;
	margin-top:10px;
	margin-bottom:10px;
	background: url("../images/folder.png");
	background-size:100% 100%;
}

#organizza-foto #gallery-galleria .gallery .gallery-title {
	text-align:center;
	width:100%;
	height:100%;
	font-size: 15px;
	background: #DDE5D8;
	word-wrap:break-word;
	border-radius:5px;
	height:30px;
}

#organizza-foto #gallery-galleria .dropping {
	background:#68A694;
}

#organizza-foto #scroller-galleria {
	
}

/**
** Slideshow
**
**/

#slideshow {
	display:none;
	position:fixed;
	top:0px;
	left:0px;
	z-index:200;

}

#slideshow .livello1{
	background:#262626 url(../css/base/images/ui-bg_diagonals-small_50_262626_40x40.png) 50% 50% repeat;
	position:absolute;
	top:0px;
	left:0px;
	opacity: 0.50;
	width:100%;
	height:100%;
}

#slideshow .livello2{
	padding-top:35px;
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
}

#slideshow .livello2 #istruzioni{
	color: #ccff66;
	text-align: center;
	background:#000000;
	margin:0 auto;
	width:80%;
	font-size:9px;
	border-bottom-right-radius:8px;
	border-bottom-left-radius:8px;
}

#slideshow .livello2 #exit{
	color: #ccff66;
	text-align: center;
	margin-right: 10%;
	margin-left: 88%;
	font-size: 15pt;
	font-weight:bold;
	padding:2px;
	cursor:hand;
	cursor:pointer;
	background:#000000;
	border-top-left-radius:5px;
	border-top-right-radius:5px;
}

#slideshow * {
	padding:0;
	margin:0;
	border:0;
}

#slideshow #slide-container{
	width:80%;
	height:80%;
	margin: 0 auto;
	background:#000000;
	opacity:1;
	border-top-left-radius:8px;
	overflow:hidden;
}

#slide-container #slides{
	position:relative;
	display:inline-block;
	background:#000000;
	height:100%;
	width:79%;
	overflow:hidden;
}

#slideshow #controllo-left {
	display:inline-block;
	width:9%;
	height:100%;
	background:#000000;
}

#slideshow #controllo-right {
	display:inline-block;
	width:10%;
	height:100%;
	background:#000000;
}

#slides #img {
	display:block;
	padding:5% 20px;
	height:87%;
	width:auto;
}


#slides img {
	height: auto;
	width: auto;
	max-height: 100%;
	max-width: 100%;
	display:block;
	margin:0 auto;
	cursor:hand;
}
